package com.dq.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户实体")
public class User {
    @ApiModelProperty("用户ID")
    private String id;
    private String name;
    private String pwd;
    private double money;
    private String role;//1-giver,2-receiver
    private String address;
    private String email;
    private String photo;

}
